package de.casino.strategies;

import de.casino.AbstractStrategy;
import de.casino.Spin;

public class LargeFieldStrategy extends AbstractStrategy {

   public LargeFieldStrategy(int startMoney, int startBet, int tableLimit) {
      super(startMoney, startBet * 8, tableLimit);
   }

   protected void handleSpin(Spin s) {
      if (s.getNumber() > 24) {
         bankroll += 9;
      } else if (s.getNumber() > 12) {
         bankroll += 9;
      } else {
         switch (s.getNumber()) {
         case 1:
         case 2:
         case 4:
         case 5:
            bankroll += 9;
            break;
         case 7:
         case 8:
         case 10:
         case 11:
            bankroll += 9;
            break;
         case 3:
         case 6:
         case 9:
         case 12:
            // bankroll += 18;
         }
      }
   }
}
